package com.jy.adscm.zltx.mapper.mysql;

import com.jy.adscm.zltx.bean.JyZltxListTree;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 质量体系树形结构表 Mapper 接口
 * </p>
 *
 * @author yyy
 * @since 2018-11-02
 */
public interface JyZltxListTreeMapper extends BaseMapper<JyZltxListTree> {

    List<Integer> getZltxRole(@Param("zltxIds") List<Long> zltxIds);

    List<JyZltxListTree> getZltxListTreeList(@Param("parentId")Long parentId,@Param("roleIds") List<Integer> roleIds);

}
